package com.yanqu.road.entity.systemgroup.newmonopolymarket.office;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_new_monopoly_market_office_seat", desc = "新榷场-榷署座位")
public class NewMonopolyMarketOfficeSeatData extends DataObject {

    @FieldTypeAnnotation(desc = "每周", update = true, select = true)
    private int weekId;

    @FieldTypeAnnotation(desc = "系统分组", update = true)
    private int systemGroupId;

    @FieldTypeAnnotation(desc = "座位", update = true)
    private int seatId;

    @FieldTypeAnnotation(desc = "座位等级")
    private int seatLv;

    @FieldTypeAnnotation(desc = "玩家")
    private long playerId;

    @FieldTypeAnnotation(desc = "占位时间点(秒)")
    private int sitTime;

    @FieldTypeAnnotation(desc = "称号加成")
    private int addition;

    @FieldTypeAnnotation(desc = "称号阶级")
    private int decorationClass;

    @FieldTypeAnnotation(desc = "称号id")
    private int decorationId;

    @FieldTypeAnnotation(desc = "称号过期时间（秒）")
    private int decorationOverTime;

    @FieldTypeAnnotation(desc = "上次位置变动时间(s)")
    private int changeTime;

    public int getWeekId() {
        return weekId;
    }

    public void setWeekId(int weekId) {
        if(this.weekId != weekId) {
            this.weekId = weekId;
            setUpdateOption();
        }
    }

    public int getSystemGroupId() {
        return systemGroupId;
    }

    public void setSystemGroupId(int systemGroupId) {
        if(this.systemGroupId != systemGroupId) {
            this.systemGroupId = systemGroupId;
            setUpdateOption();
        }
    }

    public int getSeatId() {
        return seatId;
    }

    public void setSeatId(int seatId) {
        if(this.seatId != seatId) {
            this.seatId = seatId;
            setUpdateOption();
        }
    }

    public int getSeatLv() {
        return seatLv;
    }

    public void setSeatLv(int seatLv) {
        if(this.seatLv != seatLv) {
            this.seatLv = seatLv;
            setUpdateOption();
        }
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        if(this.playerId != playerId) {
            this.playerId = playerId;
            setUpdateOption();
        }
    }

    public int getSitTime() {
        return sitTime;
    }

    public void setSitTime(int sitTime) {
        if(this.sitTime != sitTime) {
            this.sitTime = sitTime;
            setUpdateOption();
        }
    }

    public int getAddition() {
        return addition;
    }

    public void setAddition(int addition) {
        if(this.addition != addition) {
            this.addition = addition;
            setUpdateOption();
        }
    }

    public int getDecorationClass() {
        return decorationClass;
    }

    public void setDecorationClass(int decorationClass) {
        if(this.decorationClass != decorationClass) {
            this.decorationClass = decorationClass;
            setUpdateOption();
        }
    }

    public int getDecorationId() {
        return decorationId;
    }

    public void setDecorationId(int decorationId) {
        if(this.decorationId != decorationId) {
            this.decorationId = decorationId;
            setUpdateOption();
        }
    }

    public int getDecorationOverTime() {
        return decorationOverTime;
    }

    public void setDecorationOverTime(int decorationOverTime) {
        if(this.decorationOverTime != decorationOverTime) {
            this.decorationOverTime = decorationOverTime;
            setUpdateOption();
        }
    }

    public int getChangeTime() {
        return changeTime;
    }

    public void setChangeTime(int changeTime) {
        if(this.changeTime != changeTime) {
            this.changeTime = changeTime;
            setUpdateOption();
        }
    }
}
